<div class="navbar navbar-default" id="navbar">
  <div class="navbar-container" id="navbar-container">
    <div class="navbar-header pull-left">
      <%# image_tag('logolite.png', style:'height:27px; float: left; padding: 10px 0px 10px;') %>
      <a href="#" class="navbar-brand">
        <i class="icon-windows"></i>
        <small>
          <%= title %>
        </small>
      </a><!-- /.brand -->
    </div><!-- /.navbar-header -->
    <div class="navbar-header pull-right" role="navigation">
      <script type="text/javascript">
          try{ace.settings.check('navbar' , 'fixed')}catch(e){}
      </script>
      <ul class="nav ace-nav">
        <li class="light-blue">
          <a data-toggle="dropdown" href="#" class="dropdown-toggle">
            <i class="icon-user"></i>
            <span class="user-info">
                <small>欢迎</small>
                <%= current_user.name %>
            </span>
            <i class="icon-caret-down"></i>
          </a>
          <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
            <li>
              <%= link_to destroy_user_session_path, method: :delete do %>
                  <i class="icon-off"></i> <%= t 'login.logout' %>
              <% end %>
            </li>
          </ul>
        </li>
      </ul><!-- /.ace-nav -->
    </div><!-- /.navbar-header -->
  </div><!-- /.container -->
</div>